package org.diffshop.common.constant;

/**
 * @Author:tjf
 * @Description:
 */
public class ProductConstant {
    public enum AttrEnum {
        ATTR_TYPE_SALE(0, "sale"),
        ATTR_TYPE_BASE(1, "base");
        private String msg;
        private Integer code;

        AttrEnum(Integer code, String msg) {
            this.msg = msg;
            this.code = code;
        }

        public String getMsg() {
            return msg;
        }

        public Integer getCode() {
            return code;
        }
    }

    public enum imageEnum{
        NOT_DEFAULT_IMAGE(0, "不是默认图"),
        DEFAULT_IMAGE(1, "默认图");
        private int code;
        private String message;

        imageEnum(int code, String message) {
            this.code = code;
            this.message = message;
        }

        public int getCode() {
            return code;
        }

        public void setCode(int code) {
            this.code = code;
        }

        public String getMessage() {
            return message;
        }

        public void setMessage(String message) {
            this.message = message;
        }
    }
}
